<template>
    <div class="footerTop">
            <div class="container">
                <div class="footerInline">
                    <p class="linkLabel">友情链接</p>
                    <div class="linkList">
                        <ul>
                            <li v-for="item in linkList" :key="item.id">
                                <a target="_blank" :href="item.linkUrl">{{
                                        item.name
                                }}</a>
                            </li>
                        </ul>
                    </div>
                </div>

            </div>
        </div>
</template>
<script>
import {exchangeLink} from "@/request/api/link"

export default {
    data(){
        return{
            linkList: [
                // {
                //     irwName: "济南高新技术产业开发区管理委员会",
                //     irwAddress:"http://innovation.jinan.gov.cn/",
                //     irwId: "01"
                // },
                // {
                //     irwName: "山东省科学技术厅",
                //     irwAddress:"http://kjt.shandong.gov.cn/",
                //     irwId: "02"
                // },
                // {
                //     irwName: "齐鲁银行",
                //     irwAddress:"https://www.qlbchina.com/",
                //     irwId: "03"
                // },
            ],
        }
    },
    created() {
        this.exchange()
    },
    methods: {
        exchange() {
           exchangeLink().then(res => {
                if (res.data.code === 200) {
                    this.linkList=res.data.result
                } 
             })
        },
   },
  

}
</script>
<style lang="less" scoped>
@import "./footer.less";
</style>

